#!/bin/bash
mkdir -p /tmp/$USER
function mkdiff {
dir="$1"
cd  /tmp/$USER
rm -rf rss rssb
cp -rp "$mrss/$dir" rss
cp -rp "$mrssb/$dir" rssb
find rss rssb -name '*svn*' -exec rm -rf {} \;
find rss rssb -name '.swp' -exec rm -f {} \;
}
mkdiff presrc
echo "Using presrc instead of src" > /tmp/why.diff
diff -rwEibB rss rssb >> /tmp/why.diff
mkdiff src
echo "Using src instead of presrc" > /tmp/whyj.diff
diffj -rwEibB rss rssb >> /tmp/whyj.diff
